# -*- mode: snippet -*-
# name: os.walk dirpath, subdirs, filenames
# key: walk_dir_file@os
# contributor: Shuguang Sun
# --
for dirpath, subdirs, filenames in os.walk(${1:rootpath}):
    for file in filenames:
        print(os.path.join(dirpath, file))
    $0
